package store

import (
	"aiserver/pkg/models"
)

type GroupStore interface {
	CreateGroup(groupname string, user *models.User) error
	GetUserBeyondToGroup(groupname string, user *models.User) ([]string, error)
	GetUserGroup(groupname string, user *models.User) ([]string, error)
	//the user must be  admin group
	DelUserGroupMember(user *models.User, deluser string) error
	DelUserGroup(user *models.User) error
}
